﻿package com.mui.events
{
    import flash.events.*;

    public class LibraryEvent extends Event
    {
        private var _data:Object;
        public static var EMBED_COMPLETE:String = "embedComplete";
        public static var LOAD_COMPLETE:String = "loadComplete";
        public static var SINGLELOAD_COMPLETE:String = "singleLoadComplete";

        public function LibraryEvent(param1:String, param2:Object = null, param3:Boolean = false, param4:Boolean = false)
        {
            this._data = param2;
            super(param1, param3, param4);
            return;
        }// end function

        override public function clone() : Event
        {
            return new LibraryEvent(type, this._data, bubbles, cancelable);
        }// end function

        public function get data() : Object
        {
            return this._data;
        }// end function

        public function set data(param1:Object) : void
        {
            this._data = param1;
            return;
        }// end function

    }
}
